package com.groupfive.service;

import com.github.pagehelper.PageInfo;
import com.groupfive.pojo.Account;
import com.groupfive.pojo.Employee;

import java.util.List;


public interface EmployeeService {

    public List<Employee> selectAll(Employee employee);

    Employee selectById(Long id);

    public PageInfo<Employee> selectPage(Employee employee, Integer pageNum, Integer pageSize);

    int add(Employee employee);

    int update(Employee employee);

    int deleteById(Long id);

    void deleteBatch(List<Long> ids);

    Employee login(Account account);

    void register(Employee employee);

    void updatePassword(Account account);
}
